package com.zzl.mq.network.gossip;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;

@Component
@ConfigurationProperties(prefix = "mq.network.cluster")
public class ClusterConfig {
    private List<NodeConfig> nodes = new ArrayList<>();
    
    public List<NodeConfig> getNodes() {
        return nodes;
    }
    
    public void setNodes(List<NodeConfig> nodes) {
        this.nodes = nodes;
    }
} 